package br.com.daniele.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

import com.thoughtworks.xstream.annotations.XStreamAlias;

@XStreamAlias(value = "transporta")
@Entity
public class Transporta {

	private long id;
	private String CNPJ;
	private String xNome;
	private String IE;
	private String xEnder;
	private String xMun;
	private String UF;
	private String CPF;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getCNPJ() {
		return CNPJ;
	}

	public String getxNome() {
		return xNome;
	}

	public String getIE() {
		return IE;
	}

	public String getxEnder() {
		return xEnder;
	}

	public String getxMun() {
		return xMun;
	}

	public String getUF() {
		return UF;
	}

	public void setCNPJ(String cNPJ) {
		CNPJ = cNPJ;
	}

	public void setxNome(String xNome) {
		this.xNome = xNome;
	}

	public void setIE(String iE) {
		IE = iE;
	}

	public void setxEnder(String xEnder) {
		this.xEnder = xEnder;
	}

	public void setxMun(String xMun) {
		this.xMun = xMun;
	}

	public void setUF(String uF) {
		UF = uF;
	}

	@Column(length = 20)
	public String getCPF() {
		return CPF;
	}

	public void setCPF(String cPF) {
		CPF = cPF;
	}
	
	

}
